import { Module } from '@nestjs/common';
import { TypeService } from './type.service';
import { TypeController } from './type.controller';
import { MongooseModule } from '@nestjs/mongoose';
import { TypeSchema } from './shema/type.shema';

@Module({
  imports:[MongooseModule.forFeature([{name:'Type',schema:TypeSchema}])],
  controllers: [TypeController],
  providers: [TypeService],
})
export class TypeModule {}
